package com.tt.controller;

import com.tt.common.page.TtResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 登录注册
 * @author 青青
 */
@RequestMapping("/user")
@RestController
public class LoginController
{

    @RequestMapping(value="/user/login", method= RequestMethod.POST)
    public TtResult login(String username, String password, HttpServletResponse response, HttpServletRequest request)
    {
        return null;
    }
}
